package io.github.dgfwork.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Description
 * @Date 2021/8/7
 * @Created by Jonathan
 */
@Component
public class A {

	public A() {
		System.out.println("A no args constructor");
	}

	private B b;

	@Autowired
	public void setB(B b) {
		this.b = b;
	}
}
